//
//  GXShopPictureCell.m
//  YIChuSeller
//
//  Created by 田小椿 on 2018/12/21.
//  Copyright © 2018年 xiangshengjun. All rights reserved.
//

#import "GXShopPictureCell.h"
@interface GXShopPictureCell ()
@property (weak, nonatomic) IBOutlet UIImageView *photoImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end
@implementation GXShopPictureCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setImageUrlStr:(NSString *)imageUrlStr
{
    _imageUrlStr = imageUrlStr;
    NSString *urlStr = [NSString stringWithFormat:@"%@/%@",kBaseURLIMAGE,imageUrlStr];
    [self.photoImageView sd_setImageWithURL:[NSURL URLWithString:urlStr] placeholderImage:[UIImage imageNamed:@"placeHolder_picture1"]];
}
- (void)setNameStr:(NSString *)nameStr
{
    _nameStr = nameStr;
    self.nameLabel.text = nameStr;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
}

@end
